--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 5d573b24f2d2fcbdeec3e8a76702c176e1b184f3
Parents : 6db088f
Author : Mark Qvist <mark@unsigned.io>
Date : 2022-10-09T16:48:09+02:00
Fixed announce dialog style
Changes
Diff
diff --git a/sbapp/main.py b/sbapp/main.py
index cc28d246..7619bb27 100644
--- a/sbapp/main.py
+++ b/sbapp/main.py
@@ -452,12 +452,12 @@ class SidebandApp(MDApp):
def announce_now_action(self, sender=None):
self.sideband.lxmf_announce()
- yes_button = MDFlatButton(
- text="OK",
- )
+ yes_button = MDRectangleFlatButton(text="OK",font_size=sp(18))
+
dialog = MDDialog(
- text="An announce for your LXMF destination was sent on all available interfaces",
+ title="Announce Sent",
+ text="Your LXMF address has been announced on all available interfaces",
buttons=[ yes_button ],
# elevation=0,
)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────